import 'package:flutter/material.dart';

// 提供五套可选主题色
const Themes = <MaterialColor>[
  Colors.blue,
  Colors.cyan,
  Colors.teal,
  Colors.green,
  Colors.red,
  Colors.yellow,
];
Color curColor=Themes[5];
Color curBgColor=Color.fromRGBO(242, 242, 242, 1);
Color curFontBgColor=Color.fromRGBO(144, 139, 139,  1);
var themData=ThemeData(
  primarySwatch: Themes[5],
//    primaryColor:Colors.black,
  visualDensity: VisualDensity.adaptivePlatformDensity,
  iconTheme: IconThemeData(
    color: Color.fromRGBO(116, 116, 116, 1),
  ),
  primaryIconTheme:IconThemeData(
    color: Color.fromRGBO(116, 116, 116, 1),
  ),
  buttonTheme: ButtonThemeData(
    buttonColor:  Color.fromRGBO(116, 116, 116, 1)
  )
);

ThemeData theme(){
    return themData;
 }